home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
assemblr
/
library
/
zenlib
/
lst8_10.asm
< prev
next >
Wrap
Assembly Source File
|
1990-02-15
|
411b
|
19 lines
;
; *** Listing 8-10 ***
;
; Sets the BIOS equipment flag to select an 80-column
; color monitor.
; Uses mod-reg-rm AND and OR instructions.
;
call ZTimerOn
rept 1000
sub ax,ax
mov es,ax ;point ES to the segment at 0
and byte ptr es:[410h],not 30h
;mask off the adapter bits
or byte ptr es:[410h],20h
;set the adapter bits to select
; 80-column color
endm
call ZTimerOff